-
Notifications
You must be signed in to change notification settings - Fork 984
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jail validators for inactivity #2174
Conversation
15a1787
to
5dd39cd
Compare
5dd39cd
to
232ca99
Compare
* brent+grarco/jail-inactive-validator: finalize_block: unit test more refactors to liveness unjailing protocol and data refactors Improves liveness jail test Updates masp proofs Jails validators up to the pipeline len Clippy fix Adds test and fixes bug with multi-jailing Turns liveness const into pos params Fixes underflow bug in validator inactivity jailing Deactivate validator when jailing for inactivity Refactors validator activity data Jail validators for inactivity Adds liveness data for conensus validators
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made some changes and added a test, thx @grarco for implementing all of this
* brent+grarco/jail-inactive-validator: finalize_block: unit test more refactors to liveness unjailing protocol and data refactors Improves liveness jail test Updates masp proofs Jails validators up to the pipeline len Clippy fix Adds test and fixes bug with multi-jailing Turns liveness const into pos params Fixes underflow bug in validator inactivity jailing Deactivate validator when jailing for inactivity Refactors validator activity data Jail validators for inactivity Adds liveness data for conensus validators
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The basic logic looks alright to me; @tzemanovic and @brentstone should review the changes to the PoS code.
Describe your changes
Closes #1360.
Implements a jailing mechanism for inactive consensus validators.
Indicate on which release or other PRs this topic is based on
v0.26.0
Checklist before merging to
draft